/**
 * Author: ZhangYang
 * Version: 1.0
 * Created: 2007-07-25
 * Usage:
 * 1. loadValidateRules(ruleFile) or loadValidateRules(ruleFilePath);
 * 2. if return true: getTemplateValidateRule(), getHeadValidateRuleMap(), getDetailValidateRuleMap();
 *    if return false: getErrorList()
 */

package com.pccw.portlet.util.excel.importutil;

import java.util.Map;
import java.util.List;
import java.io.File;

public interface ValidateRuleLoader {
	public boolean loadValidateRules(File ruleFile);
	public boolean loadValidateRules(String ruleFilePath);
	public TemplateValidateRule getTemplateValidateRule();
	public Map getHeadTitleRuleMap();
	public Map getDetailTitleRuleMap();
	public Map getHeadDataRuleMap();
	public Map getDetailDataRuleMap();
	public List getErrorList();
}
